// MySQL数据库连接配置
export const dbConfig = {
  host: 'localhost',
  port: 3306,
  user: 'root',
  password: '', // 请根据您的实际MySQL密码修改
  database: 'fresh_chain'
}

// API基础URL
export const apiBaseUrl = 'http://localhost:8000/api'

// API接口路径
export const apiUrls = {
  // 用户相关
  login: '/auth/login',
  logout: '/auth/logout',
  
  // 产品相关
  products: '/products',
  productDetail: '/products/:id',
  
  // 仓库相关
  warehouses: '/warehouses',
  warehouseDetail: '/warehouses/:id',
  inventory: '/inventory',
  inventoryAdjust: '/inventory/adjust',
  
  // 订单相关
  orders: '/orders',
  orderDetail: '/orders/:id',
  orderCancel: '/orders/:id/cancel',
  
  // 配送相关
  deliveries: '/deliveries',
  deliveryDetail: '/deliveries/:id',
  deliveryAssign: '/deliveries/:id/assign',
  deliveryStatus: '/deliveries/:id/status'
} 